package com.zheng.upms.rpc.api;

import com.zheng.common.base.BaseServiceMock;
import com.zheng.upms.dao.mapper.UpmsDictMapper;
import com.zheng.upms.dao.model.UpmsDict;
import com.zheng.upms.dao.model.UpmsDictExample;

import java.util.ArrayList;
import java.util.List;

/**
* 降级实现UpmsDictService接口
* Created by shuzheng on 2018/9/23.
*/
public class UpmsDictServiceMock extends BaseServiceMock<UpmsDictMapper, UpmsDict, UpmsDictExample> implements UpmsDictService {

    public String queryDataDictTextByValue(String dicCode, String dicValue){
        return "";
    }

    @Override
    public String queryDataDictValueByText(String dicCode, String dicText) {
        return "";
    }

    public List<UpmsDict> queryDataDictListByDicCode(String typeCode){
        return new ArrayList<UpmsDict>();
    }

    @Override
    public int cacherefresh() {
        return 0;
    }
}
